Package com.fwdekker.randomness.word

Insertion of random words.

Types

Link copied to clipboard
class BundledDictionary : Dictionary

A Dictionary of which the underlying file is a resource in the JAR.

Link copied to clipboard
interface Dictionary

A collection of words that may become inaccessible at any moment in time.

Link copied to clipboard
data class DictionaryReference(val isBundled: Boolean, var filename: String) : Dictionary

References a dictionary by its properties.

Link copied to clipboard
class DictionaryTable : ActivityTableModelEditor<DictionaryReference>

An editable table for selecting and editing Dictionaries.

Link copied to clipboard
class InvalidDictionaryException(message: String? = null, cause: Throwable? = null) : Exception

Thrown when a Dictionary is found to be invalid and cannot be used in the intended way.

Link copied to clipboard
class UserDictionary : Dictionary

A Dictionary of which the underlying file is a regular file.

Link copied to clipboard
class WordGroupAction : DataGroupAction

All actions related to inserting words.

Link copied to clipboard
class WordInsertAction(scheme: () -> WordScheme = { WordSettings.default.currentScheme }) : DataInsertAction

Inserts random words.

Link copied to clipboard
data class WordScheme(    var myName: String = DEFAULT_NAME,     var minLength: Int = DEFAULT_MIN_LENGTH,     var maxLength: Int = DEFAULT_MAX_LENGTH,     var enclosure: String = DEFAULT_ENCLOSURE,     var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION,     var bundledDictionaryFiles: MutableSet<String> = DEFAULT_BUNDLED_DICTIONARY_FILES.toMutableSet(),     var activeBundledDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_BUNDLED_DICTIONARY_FILES.toMutableSet(),     var userDictionaryFiles: MutableSet<String> = DEFAULT_USER_DICTIONARY_FILES.toMutableSet(),     var activeUserDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_USER_DICTIONARY_FILES.toMutableSet()) : Scheme<WordScheme>

Contains settings for generating random words.

Link copied to clipboard
data class WordSettings(var schemes: MutableList<WordScheme> = DEFAULT_SCHEMES, var currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME) : Settings<WordSettings, WordScheme>

The user-configurable collection of schemes applicable to generating words.

Link copied to clipboard
class WordSettingsAction : DataSettingsAction

Controller for random string generation settings.

Link copied to clipboard
class WordSettingsComponent(settings: WordSettings = default) : SettingsComponent<WordSettings, WordScheme>

Component for settings of random word generation.

Link copied to clipboard
class WordSettingsConfigurable(component: WordSettingsComponent = WordSettingsComponent()) : SettingsConfigurable<WordSettings, WordScheme>

The configurable for word settings.